package MybatisTest;

import java.io.Serializable;

public class CarsBean implements Serializable {

	public CarsBean(String model, Integer year, String manufacturer) {
		super();
		Model = model;
		Year = year;
		Manufacturer = manufacturer;
	}

	public CarsBean(int carId, String model, Integer year, String manufacturer) {
		super();
		CarId = carId;
		Model = model;
		Year = year;
		Manufacturer = manufacturer;
	}

	public CarsBean() {
		super();
	}

	public int getCarId() {
		return CarId;
	}

	public void setCarId(int carId) {
		CarId = carId;
	}

	public String getModel() {
		return Model;
	}

	public void setModel(String model) {
		Model = model;
	}

	public Integer getYear() {
		return Year;
	}

	public void setYear(Integer year) {
		Year = year;
	}

	public String getManufacturer() {
		return Manufacturer;
	}

	public void setManufacturer(String manufacturer) {
		Manufacturer = manufacturer;
	}

	@Override
	public String toString() {
		return "CarsBean [CarId=" + CarId + ", Model=" + Model + ", Year=" + Year + ", Manufacturer=" + Manufacturer
				+ "]";
	}

	private int CarId;
	private String Model;
	private Integer Year;
	private String Manufacturer;

}
